home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 84 / CD-ROM 84 / CD-ROM 84.iso / jogos / circus / Makefile-win32 < prev    next >
Encoding:
Makefile  |  2000-05-29  |  1018 b   |  51 lines

  1. # Makefile-win32 for circuslinux
  2.  
  3. # by Bill Kendrick
  4. # bill@newbreedsoftware.com
  5. # http://www.newbreedsoftware.com/
  6.  
  7. # Version 1.0.0
  8.  
  9. # May 25, 2000 - May 29, 2000
  10.  
  11.  
  12. VERSION=1.0.0
  13.  
  14. CFLAGS=-Wall -O2 $(SDL_CFLAGS) -DDATA_PREFIX=\"data/\" \
  15.     -DWIN32 -DJOY_NO $(SDL_CFLAGS) $(XTRA_CFLAGS) -DVERSION=\"$(VERSION)\"
  16.  
  17.  
  18. # Other definitions:
  19.  
  20. SDL_LIBS=-L/usr/local/cross-tools/i386-mingw32/lib -lmingw32 \
  21.     -lSDLmain -lSDL -lSDLmain -luser32 -lgdi32 -lwinmm -ldxguid \
  22.     -mwindows
  23. XTRA_LIBS=-L/usr/local/cross-tools/i386-mingw32/lib/ \
  24.     -lSDL_image -lpng -lz -lSDL_mixer
  25. SDL_CFLAGS=-I/usr/local/cross-tools/i386-mingw32/include \
  26.     -I/usr/local/cross-tools/i386-mingw32/include/SDL
  27.  
  28.  
  29. # Make commands:
  30.  
  31. all:    circuslinux.exe
  32.     cp /usr/local/cross-tools/i386-mingw32/lib/SDL*.dll .
  33.     chmod 644 SDL*.dll
  34.  
  35. clean:
  36.     -rm circuslinux.exe
  37.     -rm *.o
  38.     -rm SDL*.dll
  39.  
  40.  
  41. # Main executable:
  42.  
  43. circuslinux.exe:    circuslinux.o
  44.     $(CC) $(CFLAGS) circuslinux.o -o circuslinux.exe \
  45.         $(XTRA_LIBS) $(SDL_LIBS)
  46.  
  47.  
  48. # Main object:
  49.  
  50. circuslinux.o:    circuslinux.c
  51.